package com.sqx.modules.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 代理商信息
 * </p>
 *
 * @author xglhappy
 * @since 2022-04-27
 */
@Getter
@Setter
@TableName("health_sys_agent")
@ApiModel(value = "Agent对象", description = "代理商信息")
public class Agent implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("名称")
      private String name;

      @ApiModelProperty("简称")
      private String abbreviation;

      @ApiModelProperty("联系人")
      private String contacts;

      @ApiModelProperty("联系电话")
      private String phone;

      @ApiModelProperty("联系地址")
      private String address;

      @ApiModelProperty("所属代理商")
      private Long uid;

      @ApiModelProperty("唯一标识(与用户表进行绑定)")
      private String flag;

      @ApiModelProperty("是否删除 默认0-有效; 1-删除")
      private Integer isdelete;
}
